<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
	<%@include file="../common/top.jsp"%>
	<div>
		<table class="table table-hover table-bordered">
			<caption>
				<span class="label pull-left"
					style="font-family: white; font-size: 16px"><span class="local" data-local="log_title">日志列表：</span></span>
			</caption>
			<thead>
				<tr>
					<td><span class="local" data-local="log_tbl_id">ID</span></td>
					<td><span class="local" data-local="log_tbl_operator">操作者</span></td>
					<td><span class="local" data-local="log_tbl_ip">IP地址</span></td>
					<td><span class="local" data-local="log_tbl_time">操作时间</span></td>
					<td><span class="local" data-local="log_tbl_content">操作内容</span></td>
					<td><span class="local" data-local="log_tbl_method">方法名称</span></td>
					<td><span class="local" data-local="log_tbl_operate">操作</span></td>
				</tr>
			</thead>
			<tbody>
				<!-- c:forEach items="leaveBillList" var="leaveBill"
				报错：javax.el.PropertyNotFoundException: Property 'id' not found on type java.lang.String
			 -->
				<c:forEach items="${logRightList }" var="logRight">
					<tr>
						<td>${logRight.id }</td>
						<td>${logRight.recUpdateEmp }</td>
						<td>${logRight.ip }</td>
						<td><fmt:formatDate value="${logRight.recUpdateDate }"
								pattern="yyyy-MM-dd HH:mm:ss" /></td>
						<td>${logRight.methodDesc }</td>
						<td>${logRight.methodName }</td>
						<td><a href="javascript:void(0);" onclick="deleteLog(${logRight.id })"><span class="local" data-local="log_oper_del">删除</span></a></td>
					</tr>
				</c:forEach>
			</tbody>
		</table>
	</div>

	<script type="text/javascript" src="${basePath }static/js/log.js"></script>
</body>
</html>